import 'package:flutter/material.dart';
import 'dart:async';
import 'package:hairen_app/pages/plug/func.dart';

class AlertInput extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    // TODO: implement createState
    return new _AlertInputState();
  }
}

class _AlertInputState extends State<AlertInput> {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return new SimpleDialog(title: new Text("添加会话"), children: <Widget>[
      new Container(
          margin: const EdgeInsets.only(top: 18.0),
          child: new Row(
            mainAxisAlignment: MainAxisAlignment.spaceEvenly,
            children: <Widget>[
              new RaisedButton(
                elevation: 0.0,
                onPressed: () {
                  Navigator.of(context).pop();
                },
                colorBrightness: Brightness.dark,
                child: const Text('取消'),
              ),
              new RaisedButton(
                elevation: 0.0,
                 onPressed: (){

                 },
                child: const Text('添加'),
              ),
            ],
          ))
    ]);
  }
}
